<?php
	$arr = array("zs"=>"123","ls"=>"000");
	foreach($arr as $name=>$pwd){
		if(($name==$_GET['uname']) && ($pwd ==$_GET['upwd']))
        {
            echo 1;
        }else{
            echo 2;
        }
	}
